package com.bjsxt.livegoods.buytime.service.controller;

import com.bjsxt.livegoods.buytime.service.BuytimeAppService;
import com.bjsxt.livegoods.buytime.service.service.BuytimeService;
import com.bjsxt.livegoods.buytime.serviceapi.BuytimeServiceAPI;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
public class BuytimeServiceController implements BuytimeServiceAPI {

    @Autowired
    private BuytimeService buytimeService;

    @Override
    public Map<String, Object> buytime(String id) {
        return buytimeService.buytime(id);
    }
}
